
public class W6126_32
{
	public static void main(String[] args) 
	{   int i=0;
		while(i<10)
		{int j=0;
		while(j<i)
			{
			System.out.print(j);
			j++;
			}
		System.out.println(i);
		i++;
		}
                }
